@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
.tabs-left,
.tabs-right{
border-bottom:none}

tabpanels{
-moz-appearance:none;
-moz-border-radius:0 3px 3px;
background-color:#313232;
border-right:2px solid;
border-bottom:2px solid;
border-left:2px solid;
-moz-border-right-colors:#000 #3e3f3f;
-moz-border-bottom-colors:#000 #3e3f3f;
-moz-border-left-colors:#000 #3e3f3f;
margin:0;
padding:8px}

tabs:not([class="tabbrowser-tabs"]){
height:28px!important}

tab{
-moz-appearance:none!important;
-moz-border-radius:3px 3px 0 0;
background:#606060;
color:#1c1d1d;
margin:3px 0 0 1px!important;
padding:0;
border-bottom:1px solid #606060}

tab[selected="true"]:first-of-type{
margin-left:0!important}

tab:hover{
background:#6b6b6b}

tab[selected="true"]{
background:#313232;
border-bottom:none!important;
color:#fff;
margin-top:0!important;
border-top:2px solid;
border-left:2px solid;
border-right:2px solid;
-moz-border-top-colors:#000 #3e3f3f;
-moz-border-right-colors:#000 #3e3f3f;
-moz-border-left-colors:#000 #3e3f3f;
-moz-border-radius:3px 3px 0 0}

.tab-bottom{
border:none;
margin:0;
padding:0}

.tab-bottom[selected="true"]{
margin-bottom:0}

.tab-bottom[beforeselected="true"]:not([chromedir="rtl"]),
.tab-bottom[selected="true"][chromedir="rtl"] + .tab-bottom{
-moz-border-radius-bottomright:0}

.tab-bottom[selected="true"]:not([chromedir="rtl"]) + .tab-bottom,.tab-bottom[beforeselected="true"][chromedir="rtl"]{
-moz-border-radius-bottomleft:0}

.tabs-bottom > .tabs-left,.tabs-bottom > .tabs-right{
border:none}